import Vue from 'vue'
import Vuex from 'vuex'
// import vueRouter from 'vue-router'
import mutations from './mutations.js'
import actions from './actions.js'
import getters from './getters.js'
import axiosIntercepor from './axios.inteceptor.js'
import vuefilter from './filter.js'
vuefilter.vueFilter();
Vue.use(Vuex)

// Vue.use(vueRouter);

/* 项目全局State */
const state = {
  imgUrl: ''
}
axiosIntercepor.interceptors()
/* Store实例 */
export default new Vuex.Store({
  state,
  getters,
  actions,
  mutations
})
